'use strict';
const _0x4c1b = [
    'Message',
    'jhveZ',
    'show',
    'webContent',
    'd.js',
    'file://',
    'electron.h',
    '571352xzTMAY',
    'setMenu',
    './package.',
    'index.html',
    'pTFIR',
    'aPtdc',
    'versions',
    'Manager',
    'how',
    'exports',
    'de(',
    'v.switchMo',
    'json',
    'oqWuZ',
    'split',
    'error',
    'electron',
    'ready-to-s',
    'Shortcuts\x20',
    'extension',
    'request',
    'name',
    '480953JMvFsx',
    'removeAllL',
    '2APFuSy',
    'mainPreloa',
    '10PwXJiK',
    'index_low_',
    'isteners',
    'ewYId',
    'join',
    '2FWfNNk',
    'executeJav',
    '44197lAOiVD',
    'aScript',
    'reload',
    '18400jLxQGj',
    'process',
    '457206GnQEmt',
    '#2e2c29',
    'path',
    'tension',
    ':refreshEx',
    'hVNNh',
    '253138fNqZVd',
    'bFRbR',
    '6caWbIM',
    'YgfpH',
    'closed',
    'tml',
    'loadURL',
    'jpera',
    '173778lpevYi'
];
const _0x4f8867 = _0x4138;
(function (_0x5a5041, _0x5397fd) {
    const _0x18dadc = _0x4138;
    while (!![]) {
        try {
            const _0x4d5c70 = -parseInt(_0x18dadc(0x1e8)) + parseInt(_0x18dadc(0x1e6)) * -parseInt(_0x18dadc(0x1dc)) + parseInt(_0x18dadc(0x1fe)) + -parseInt(_0x18dadc(0x1f0)) * parseInt(_0x18dadc(0x1e3)) + parseInt(_0x18dadc(0x214)) + parseInt(_0x18dadc(0x1e1)) * -parseInt(_0x18dadc(0x1f6)) + parseInt(_0x18dadc(0x1ee)) * parseInt(_0x18dadc(0x216));
            if (_0x4d5c70 === _0x5397fd)
                break;
            else
                _0x5a5041['push'](_0x5a5041['shift']());
        } catch (_0x6edfd2) {
            _0x5a5041['push'](_0x5a5041['shift']());
        }
    }
}(_0x4c1b, -0x31044 + 0x15b73 * -0x3 + -0xa * -0x12da9));
const {BrowserWindow, app, remote, ipcMain} = require(_0x4f8867(0x20e)), path = require(_0x4f8867(0x1ea)), pcs = require(_0x4f8867(0x1e7)), folder = '', devTools = ![];
let win, mode = 0x2 * 0x1003 + -0x10bc + -0xf4a, unloaded = ![];
const PKG_NAME = require(_0x4f8867(0x200) + _0x4f8867(0x20a))[_0x4f8867(0x213)];
function refreshExtension(_0x311c60, _0x594ad6) {
    const _0x2b2a7a = _0x4f8867, _0x894a21 = {
            'jhveZ': _0x2b2a7a(0x211),
            'hVNNh': _0x2b2a7a(0x1e5)
        };
    Editor[_0x2b2a7a(0x1f7)][_0x2b2a7a(0x212)](_0x894a21[_0x2b2a7a(0x1f8)], _0x894a21[_0x2b2a7a(0x1ed)], _0x594ad6);
}
function showWindow() {
    const _0x5c8734 = _0x4f8867, _0x4c5678 = {
            'oqWuZ': _0x5c8734(0x210) + _0x5c8734(0x205),
            'pTFIR': _0x5c8734(0x1e9),
            'ewYId': _0x5c8734(0x20f) + _0x5c8734(0x206),
            'bFRbR': _0x5c8734(0x1f2),
            'jpera': function (_0x9da94a, _0x3b4e03) {
                return _0x9da94a >= _0x3b4e03;
            }
        };
    if (win) {
        win[_0x5c8734(0x1f9)](), win[_0x5c8734(0x1fa) + 's'][_0x5c8734(0x1e2) + _0x5c8734(0x1e4)](_0x5c8734(0x209) + _0x5c8734(0x208) + mode + ')');
        return;
    }
    win = new BrowserWindow({
        'minWidth': 0x258,
        'minHeight': 0x1f4,
        'width': 0x258,
        'title': _0x4c5678[_0x5c8734(0x20b)],
        'backgroundColor': _0x4c5678[_0x5c8734(0x202)],
        'useContentSize': ![],
        'webPreferences': {
            'enablePreferredSizeMode': !![],
            'preferredSizeMode': !![],
            'nodeIntegration': !![],
            'enableRemoteModule': !![],
            'devTools': devTools,
            'contextIsolation': ![],
            'preload': path[_0x5c8734(0x1e0)](__dirname, folder + (_0x5c8734(0x217) + _0x5c8734(0x1fb)))
        }
    }), win[_0x5c8734(0x1ff)](null), win['on'](_0x4c5678[_0x5c8734(0x1df)], () => win[_0x5c8734(0x1f9)]()), win['on'](_0x4c5678[_0x5c8734(0x1ef)], () => {
        win = null;
    });
    let _0x8189ce = folder + (_0x5c8734(0x1dd) + _0x5c8734(0x1fd) + _0x5c8734(0x1f3));
    _0x4c5678[_0x5c8734(0x1f5)](process[_0x5c8734(0x204)][_0x5c8734(0x20e)][_0x5c8734(0x20c)]('.')[-0x22b4 + -0x147b * 0x1 + 0x372f], 0x46a + 0xb6 * 0xc + -0x44f * 0x3) && (_0x8189ce = folder + _0x5c8734(0x201));
    let _0x313764 = path[_0x5c8734(0x1e0)](__dirname, _0x8189ce);
    win[_0x5c8734(0x1f4)](_0x5c8734(0x1fc) + _0x313764);
}
function _0x4138(_0x40d884, _0x32654b) {
    _0x40d884 = _0x40d884 - (0x13 * -0x9a + 0x1f30 + 0x2 * -0x8f3);
    let _0x4dbdd9 = _0x4c1b[_0x40d884];
    return _0x4dbdd9;
}
function tryShowWindow(_0x39fd48) {
    const _0x296995 = _0x4f8867, _0x169916 = {
            'YgfpH': function (_0xef63ec) {
                return _0xef63ec();
            }
        };
    mode = _0x39fd48;
    try {
        _0x169916[_0x296995(0x1f1)](showWindow);
    } catch (_0x39a125) {
        console[_0x296995(0x20d)](_0x39a125);
    }
}
module[_0x4f8867(0x207)] = {
    'load'() {
        const _0x107073 = _0x4f8867;
        ipcMain['on'](PKG_NAME + (_0x107073(0x1ec) + _0x107073(0x1eb)), refreshExtension);
    },
    'unload'() {
        const _0x5189eb = _0x4f8867;
        unloaded = !![], ipcMain[_0x5189eb(0x215) + _0x5189eb(0x1de)](PKG_NAME + (_0x5189eb(0x1ec) + _0x5189eb(0x1eb)));
    },
    'methods': {
        'open'() {
            const _0x216a14 = _0x4f8867, _0x41dd5c = {
                    'aPtdc': function (_0x3ee2cb, _0x1fb146) {
                        return _0x3ee2cb(_0x1fb146);
                    }
                };
            if (unloaded)
                return;
            _0x41dd5c[_0x216a14(0x203)](tryShowWindow, 0x1d * 0xc5 + 0x4a3 + -0x1af4);
        }
    }
};